@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
  font-weight: 400;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 自定义滚动条样式 - 暗色主题 */
.scrollbar-dark::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.scrollbar-dark::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

.scrollbar-dark::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.scrollbar-dark::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* 全局样式 - 隐藏文件输入框的默认外观 */
input[type="file"] {
  position: fixed;
  top: -1000px;
  left: -1000px;
  opacity: 0;
  z-index: -1;
}

/* 壁纸目录说明 */
.wallpaper-directory-info {
  position: fixed;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 14px;
  z-index: 1000;
}

/* 壁纸目录说明 */
.wallpaper-directory-info {
  position: fixed;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 14px;
  z-index: 1000;
}